<style type="text/css" rel="stylesheet">
    form {
        margin: 0;
        }
        .editor {
        margin-top: 5px;
        margin-bottom: 5px;
        }
        .ke-content {
        font-family: Courier New;
        font-size: 12px;
        background-color: #ffffff;
    }
  </style>
  <script type="text/javascript" charset="utf-8" src="/kindeditor/kindeditor.js"></script>
  <script type="text/javascript">
    KE.show({
        id : 'news',
        resizeMode :1,
        cssPath : '/kindeditor/examples/index.css',
        items : ['fontname', 'fontsize', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline',]
    });
  </script>

<div id="about_main">
	<div id="about_toppic"><img src="/images/home_page/images/abouttop2.jpg" width="960" height="90" /></div>
<div id="sub_nav">您的位置 ： <a href="/psysource/home_page/index">首页</a> > 管理</div>

<div id="right_menu">
	<div id=left_menu>
<DL id=gallery>
<dt><a href="/content/news_manage">新闻中心</a>
<Dd><A title="添加公司新闻" 
href="/content/addnew">添加新闻</A> 
</Dd>
<dt><a href="/content/research_manage">研究中心</a>
<dt><a href="/content/download_manage">资源下载</a>
<dt><a href="/content/download_manage">常见问题管理</a>
</DL>

</div>
	<div id="company_text">
	<div><p style="color: red"><%= flash[:notice] %></p></div>
	<p style="line-height:19px;">新闻列表：<br/>
<!--table class="datalist">
  <tr>
    <th scope="col" width="40">序号</th>
    <th scope="col" width="200">标题</th>
    <th scope="col"  width="120"></th>
  </tr-->
  <% if @news%>
   <% for news in @news %>
     *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <a href="/psysource/home_page/news/<%=news.id%>">
    <%=news.title %></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <a href="edit_news/<%=news.id%>">编辑</a>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <!--form_for(:image, :url => {:action=>'create_image_fortest'}, :html => { :multipart => true }) do |f| -%> 
      <input id="image_uploaded_data" type="file" size="10" name="image[uploaded_data]" class="Button"/>
               <input type ="hidden"  name ="n_id" value =<%=news.id %><br/>
             <= submit_tag '添加' , :class=>"Button" %> 
     <end %-->
      <a onclick="return confirm('确定删除?');" href="/content/destroy_news/<%=news.id%>">删除</a>
     <br/>
     <%  end %>
     
      <%= will_paginate(@news,:prev_label=>'上一页',:next_label=>'下一页',:separator=>" | ") %>
     <% else %>
     暂时没有新闻！
     <% end %>
</p>
	
	</div>
</div>
</div>



